#define _CRT_SECURE_NO_WARNINGS
#include"sList.h"
SList_test1()
{
	SListNode* plist={0};
	SListPushFront(&plist, 1);
	SListPushFront(&plist, 2);
	SListPushFront(&plist, 3);
	SListPushFront(&plist, 4);
	SListPrint(plist);
	SListInsertAfter(SListFind(plist, 2), 5);
	SListPrint(plist);
	SListEraseAfter(SListFind(plist, 2));
	SListPrint(plist);
	SListDestroy(plist);
}
int main()
{
	SList_test1();
	return 0;
}